<script setup lang="ts">
import logo from '@/assets/svg-icons/logo.svg';
import logoDark from '@/assets/svg-icons/logo_dark.svg';
import PictureSwitch from '@/components/PictureSwitch.vue';
const goHome = () => {
  location.href = '/'
};
</script>

<template>
  <div class="header-logo" @click="goHome">
    <PictureSwitch :dark="logoDark">
      <img class="logo" alt="openUBMC" :src="logo"  />
    </PictureSwitch>
  </div>
</template>

<style lang="scss" scoped>
.logo {
  height: 30px;
  width: 125px;
}
</style>
